package week6;

public class Q5 {
    public static void main(String[] args) {
        BankAccount a1 = new BankAccount(2024,"123456",255.3,20.0);
        BankAccount a2 = new BankAccount(202412,"12378",666.2,45.1);
        BankAccount a3 = new BankAccount(2024120,"253647",999.0,555.0);

        System.out.println(a1.showInfo());
        System.out.println(a2.showInfo());
        System.out.println(a3.showInfo());

    }
}
